package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/19
 */

@Data
@Entity
@Table(name = "air_volume")
public class AirVolumeEntity {

    @ApiModelProperty(value = "风量情况id")
    @TableId(value = "id")
    @Id
    private Long id;

    @Column(name = "position_id")
    @ApiModelProperty(value = "测风站安装位置id")
    private Long positionId;

    @Column(name = "air_volume")
    @ApiModelProperty(value = "风量")
    private BigDecimal airVolume;

    @Column(name = "wind_speed")
    @ApiModelProperty(value = "风速")
    private BigDecimal windSpeed;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;
}
